package u.zh.cp;

public class Find {
  public int changeX(int x) {
    int r = x;
    if (x < 0) {
      r += 10;
    } else if (x == 0) {
      r += 20;
    } else {
      r += 30;
    }
    return r;
  }
  public int changeY(int y) {
    int r = y;
    if (y < 0) {
      r += 10;
    } else if (y == 0) {
      r += 20;
    } else {
      r += 30;
    }
    return r;
  }
  public int changeXY(int x,int y) {
    return changeX(x)+changeY(y);
  }
}
